/*
 *  $Id: BlazingHands.cs 1051 2010-05-18 22:10:41Z thenn.erannor $
 *	This file is a part of Ragima CCG.
 *	(C) 2008 Ragima development group.
 *
 *	Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Cards001.Fire.Spells {
    public class BlazingHands: TargetEnchantmentCard<Creature> {
        public BlazingHands(): base("001_f_s_blazing_hands") {
            Level = CompleteLevel.Final;
            Element = ElementType.Fire;
            Value = 100;
            Target = CreatureTarget.Own;
            AddManaCost(ElementType.Fire, 1);
        }

        protected override EnchantmentAffect CreateEnchantment() {
            return new BlazingHandsAffect();
        }

        private class BlazingHandsAffect: EnchantmentAffect<BlazingHands> {
            public BlazingHandsAffect() {
                TimeAffect time = new TimeAffect(1, TimePhase.OwnOffence);
                time.Add(new Affects.ModDamage(1));
                time.Add(new Affects.ScorchAttack(1));
                Add(time);
            }
        }
    }
}
